import axios from "axios";
const github = axios.create({
    baseURL:'https://api.github.com',
    timeout:15000
})
github.interceptors.response.use(function (res){
    return res.data;
},function (err){
    alert(err);
    return Promise.reject(err);
})
export default github;